package com.dlyk.service;

import com.dlyk.model.Clue;
import com.dlyk.query.ClueQuery;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface ClueService {

    PageInfo<Clue> getClueListByPage(Integer current);

    void clueImportExcel(MultipartFile file) throws IOException;

    Map<String, Object> getClueOptions();

    int getCountByPhone(String phone);

    int saveClue(ClueQuery clueQuery);

    Clue getClueById(Integer id);

    int editClue(ClueQuery clueQuery);

    Clue getClueDetailById(Integer id);

    int removeClueById(Integer id);

    int batchRemoveClueByIds(List<String> ids);
}

